package com.object;

public class Mosque {
	private int id;

	private double longitude;
	private double latitude;
	private String nom;
	private String info;
	private Boolean havePicture;
	private String pictureName;
	private String addresse;
	private String id_device;

	public int getId() {
		return id;
	}

	public Mosque() {
		super();
	}

	public Mosque(int id, String nom, double latitude, double longitude,
			String info, String addresse, String id_device,
			Boolean havePicture, String pictureName) {
		super();
		this.id = id;
		this.longitude = longitude;
		this.latitude = latitude;
		this.nom = nom;
		this.info = info;
		this.addresse = addresse;
		this.id_device = id_device;
		this.havePicture = havePicture;
		this.pictureName = pictureName;
	}

	public Mosque(String nom, double latitude, double longitude, String addresse) {
		super();
		this.id = -1;
		this.longitude = longitude;
		this.latitude = latitude;
		this.nom = nom;
		this.addresse = addresse;
		this.info = "";
		this.havePicture = false;
	}

	public Mosque(String nom, String info, String addresse) {
		super();

		this.nom = nom;
		this.info = info;
		this.addresse = addresse;
	}

	public Boolean getHavePicture() {
		return havePicture;
	}

	public void setHavePicture(Boolean havePicture) {
		this.havePicture = havePicture;
	}

	public String getPictureName() {
		return pictureName;
	}

	public void setPictureName(String pictureName) {
		this.pictureName = pictureName;
	}

	public void setId(int id) {
		this.id = id;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getAddresse() {
		return addresse;
	}

	public void setAddresse(String addresse) {
		this.addresse = addresse;
	}

	public String getId_device() {
		return id_device;
	}

	public void setId_device(String idDevice) {
		id_device = idDevice;
	}

	@Override
	public String toString() {
		return "Mosque [Addresse=" + addresse + ", havePicture=" + havePicture
				+ ", id=" + id + ", info=" + info + ", latitude=" + latitude
				+ ", longitude=" + longitude + ", nom=" + nom
				+ ", pictureName=" + pictureName + "]";
	}

}
